class Cry {
	public void cry() {
		System.out.println("hello");
	}
}
public class xiti7_1{
	public static void main(String args[]){
		Cry hello=new Cry() {
		  public void cry() {
			System.out.println("nice");
		}
	};
	 hello.cry();
}
}